﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="SanPhamThem.aspx.cs" Inherits="Admin_SanPhamThem" Title="Untitled Page" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<div class="sidebarmenu">
	<ul id="sidebarmenu1">
		
		<li><a href="SanPhamDanhSach.aspx">Sản Phẩm</a>
			<ul>
			<li><a href="SanPhamDanhSach.aspx">Danh Sách Sản Phẩm</a></li><li><a href="SanPhamThem.aspx">Thêm Sản Phẩm</a></li></ul>
		</li>
		<li><a href="DanhMucDanhSach.aspx">Danh Mục</a>
			<ul>
			<li><a href="DanhMucDanhSach.aspx">Danh Sách Danh Mục</a></li><li><a href="DanhMucThem.aspx">Thêm Danh Mục</a></li></ul>
		</li>
		<li><a href="DoanhNghiepDanhSach.aspx">Doanh Nghiệp</a>
			<ul>
			<li><a href="DoanhNghiepDanhSach.aspx">Danh Sách Doanh Nghiệp</a></li><li><a href="DoanhNghiepThem.aspx">Thêm Doanh Nghiệp</a></li></ul>
		</li>
		<li><a href="NhaSanXuatDanhSach.aspx">Nhà Sản Xuất</a>
			<ul>
			<li><a href="NhaSanXuatDanhSach.aspx">Danh Sách Nhà SX</a></li><li><a href="NhaSanXuatThem.aspx">Thêm Nhà SX</a></li></ul>
		</li>
		<li><a href="DiaDiemDanhSach.aspx">Địa Điểm</a>
			<ul>
			<li><a href="DiaDiemDanhSach.aspx">Danh Sách Địa Diểm</a></li><li><a href="DiaDiemThem.aspx">Thêm Địa Điểm</a></li></ul>
		</li>
		<li><a href="TinhTrangDanhSach.aspx">Tình Trạng</a>
			<ul>
			<li><a href="TinhTrangDanhSach.aspx">Danh Sách Tình Trạng</a></li><li><a href="TinhTrangThem.aspx">Thêm Tình Trạng</a></li></ul>
		</li>
		<li><a href="PhuongThucThanhToanDanhSach.aspx">Thanh Toán</a>
			<ul>
			<li><a href="PhuongThucThanhToanDanhSach.aspx">Danh Sách Thanh Toán</a></li><li><a href="PhuongThucThanhToanThem.aspx">Thêm Thanh Toán</a></li></ul>
		</li>
		
	</ul>
</div>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title" style="text-align: center">
            <span style="color: #ff0033"><strong><em><span style="font-size: 14pt">Thêm Sản Phẩm</span>
            </em></strong></span>
        </div>                  
        <div>
          <table width="808px"  cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
                 <tr>
                    <td style="width:250px; text-align: left;">Tên sản phẩm</td>
                    <td style="width:559px; text-align: left;"><asp:TextBox ID="txt_tensp" runat="server"></asp:TextBox></td>
                </tr> 
                <tr>
                    <td style="width:250px; text-align: left;">Danh Mục</td>
                    <td style="width:559px; text-align: left;">
                        &nbsp;<asp:DropDownList ID="ddl_danhmuc" runat="server">
                        </asp:DropDownList>
                        <asp:HyperLink ID="hpl_themdanhmuc" runat="server" NavigateUrl="~/Admin/DanhMucThem.aspx">Thêm Danh Mục</asp:HyperLink></td>
                </tr>   
                <tr>
                    <td style="width:250px; text-align: left;">Doanh Nghiệp</td>
                    <td style="width:559px; text-align: left;">
                        &nbsp;<asp:DropDownList ID="ddl_doanhnghiep" runat="server">
                        </asp:DropDownList>
                     </td>
                </tr>   
                 <tr>
                    <td style="width:250px; text-align: left;">Nhà sàn xuất</td>
                    <td style="width:559px; text-align: left;">
                        &nbsp;<asp:DropDownList ID="ddl_nhasx" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:250px; text-align: left;">Giá Gốc</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_giagoc" runat="server"></asp:TextBox>
                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="VNĐ"></asp:Label></td>
                </tr> 
                <tr>
                    <td style="width:250px; text-align: left;">Giá Bán</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_giaban" runat="server"></asp:TextBox>
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="VNĐ"></asp:Label></td>
                </tr> 
                <tr>
                    <td style="width:250px; text-align: left;">Ngày Bắt Đầu</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_ngaybatdau" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width:250px; text-align: left;">Ngày Hết Hạn</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_ngayhethan" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width:250px; text-align: left;">Số Lượng Bán</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_soluongban" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width:250px; text-align: left;">Số Lượng Tối Đa</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_soluongtoida" runat="server"></asp:TextBox>
                    </td>
                </tr>
                
                <tr>
                    <td style="width:250px; text-align: left;">Quy Định Sử Dụng</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_quydinhsudung" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width:250px; text-align: left;">Chiết Khấu</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_chietkhau" runat="server"></asp:TextBox>
                        <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="%"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width:250px; text-align: left;">Tình Trạng</td>
                    <td style="width:559px; text-align: left;">
                        &nbsp;<asp:DropDownList ID="ddl_tinhtrang" runat="server">
                        </asp:DropDownList>
                     </td>
                </tr>
                <tr>
                    <td style="width:250px; text-align: left;">Hình Minh Họa</td>
                    <td style="width:559px; text-align: left;">
                        <asp:FileUpload ID="fu_up_hinh" runat="server" class="multi"/></td>
                </tr> 
               <tr>
                    <td style="width:250px;text-align: left; ">Mô Tả</td>
                    <td style="width:559px; text-align: left;">
                        <FTB:FreeTextBox ID="ftb_mota" runat="server">
                        </FTB:FreeTextBox>
                        
                    </td>
                    
                </tr> 
                <tr>
                    <td style="width:250px; text-align: left;">Bản Đồ</td>
                    <td style="width:559px; text-align: left;">
                        <asp:DropDownList ID="ddl_bando" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr> 
                <tr>
                    <td style="width:250px; text-align: left;">Phương Thức Thanh Toán</td>
                    <td style="width:559px; text-align: left;">
                        <asp:DropDownList ID="ddl_phuongthucthanhtoan" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>             
                <tr>
                    <td style="width:250px; text-align: left;">Lời Giới Thiệu</td>
                    <td style="width:559px; text-align: left;">
                        <asp:TextBox ID="txt_loigioithieu" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center; width: 808px;">
                        <asp:Button ID="btn_Add" runat="server" Text="Thêm" OnClick="btn_Add_Click" Height="50px" Width="80px"/></td>
                </tr>            
            </table>
        </div>
 </div>
 </div>
</asp:Content>


